

            
// This code is a generated code by a tool
// designed and coded by Shohdi Mohamed Elsheemy ( shohdi@gmail.com )

            
using System;
using System.Collections.Generic;
using System.Web;
namespace DatabaseComponent
{
[Serializable]
public partial class CertificateData
{
System.Int64 _ID =-1;
public System.Int64 ID
{
get { return _ID;}
set { _ID = value;}
}
System.String _IamLearningImage ="";
public System.String IamLearningImage
{
get { return _IamLearningImage;}
set { _IamLearningImage = value;}
}
System.String _SECImage ="";
public System.String SECImage
{
get { return _SECImage;}
set { _SECImage = value;}
}
System.String _SignImage ="";
public System.String SignImage
{
get { return _SignImage;}
set { _SignImage = value;}
}
System.String _StampImage ="";
public System.String StampImage
{
get { return _StampImage;}
set { _StampImage = value;}
}
System.String _ManagerPos ="";
public System.String ManagerPos
{
get { return _ManagerPos;}
set { _ManagerPos = value;}
}
System.String _ManagerName ="";
public System.String ManagerName
{
get { return _ManagerName;}
set { _ManagerName = value;}
}
System.Boolean _ShowStamp =false;
public System.Boolean ShowStamp
{
get { return _ShowStamp;}
set { _ShowStamp = value;}
}
System.Boolean _ShowSignature =false;
public System.Boolean ShowSignature
{
get { return _ShowSignature;}
set { _ShowSignature = value;}
}
public CertificateData()
{
}
public CertificateData(System.String __IamLearningImage,System.String __SECImage,System.String __SignImage,System.String __StampImage,System.String __ManagerPos,System.String __ManagerName,System.Boolean __ShowStamp,System.Boolean __ShowSignature)
{
_IamLearningImage = __IamLearningImage;
_SECImage = __SECImage;
_SignImage = __SignImage;
_StampImage = __StampImage;
_ManagerPos = __ManagerPos;
_ManagerName = __ManagerName;
_ShowStamp = __ShowStamp;
_ShowSignature = __ShowSignature;
}
public CertificateData(System.Int64 __ID,System.String __IamLearningImage,System.String __SECImage,System.String __SignImage,System.String __StampImage,System.String __ManagerPos,System.String __ManagerName,System.Boolean __ShowStamp,System.Boolean __ShowSignature)
{
_ID = __ID;
_IamLearningImage = __IamLearningImage;
_SECImage = __SECImage;
_SignImage = __SignImage;
_StampImage = __StampImage;
_ManagerPos = __ManagerPos;
_ManagerName = __ManagerName;
_ShowStamp = __ShowStamp;
_ShowSignature = __ShowSignature;
}


             public override bool Equals(object obj)
         {
             if (obj is CertificateData)
             {
                 CertificateData newObj = (CertificateData)obj;

                 if (newObj.ID == this.ID )
                 {
                     return true;
                 }
                 else
                 {
                     return false;
                 }
             }

             else
             {
                 return false;
             }

            
         }            











             }
}
